export default {
  // 设置软件工作模式
  setMode (state, mode) {
    state.mode = mode
  },
  setProjectList (state, list) {
    state.projectList = list
  },

  setSelectedProject (state, projectId) {
    state.selectedProjectId = projectId
  },

  setOperators (state, operators) {
    state.operators = operators
  },

  setSelectedOperator (state, operator) {
    state.operator = operator
  },

  // 设置选中的工序信息
  setSelectedSequence (state, sequence) {
    state.selectedSequence = sequence
  },

  setRecords (state, records) {
    state.records = records
  },

  // 设置记录状态
  setRecordState (state, recording) {
    state.recording = recording
  },

  // 设置实时数据
  setTimingData (state, record) {
    state.timingData = record
  },

  // 设置当前钻杆数
  setCLNumber (state, number) {
    state.CLNumber = number
  }
}
